// 定义状态机对象
import Vue from 'vue'
import Vuex from 'vuex'
import count from './count.js'
import goods from './goods.js'
import cart from './cart.js'
import address from './address'
import user from './user'
Vue.use(Vuex)
const store = new Vuex.Store({ //状态机对象
  modules:{
    'count':count,
    goods,
    cart,
    address,
    user
  }
})
export default store